﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="RelDespesa.aspx.cs" Inherits="Sgf.View.Relatorio.Despesa.RelDespesa" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h3>Relatório de Despesa.</h3>
    <div>
        <asp:ValidationSummary runat="server" ValidationGroup="Principal" class="alert alert-warning" />
    </div>
    <div>
        <asp:Panel ID="pnErro" runat="server">
            <div class="alert alert-danger fade in">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                <h4>Atenção !</h4>
                <p>
                    <asp:Label ID="lbMsg" Text="" runat="server" />
                </p>
            </div>
        </asp:Panel>
    </div>
    <br />
    <div>
        <asp:Label ID="lbDespesa" Text="Tipo Despesa" runat="server" />
    </div>
    <div>
        <asp:DropDownList ID="ddlTipoDespesa" DataValueField="Id" DataTextField="Descricao" runat="server" CssClass="form-control" Width="250px">
        </asp:DropDownList>
    </div>
    <br />
    <div>
        <asp:Label ID="lbDataInicio" Text="Data Inicio" runat="server" />
    </div>
    <div>
        <asp:TextBox ID="txtDataInicio" IDValidationData="txtDataInicio" runat="server" TextMode="Date" Width="250px" CssClass="form-control" />
        <asp:RequiredFieldValidator ErrorMessage="O campo data inicio é necessário" ControlToValidate="txtDataInicio" runat="server" Display="None" ValidationGroup="Principal" />
    </div>
    <br />
    <div>
        <asp:Label ID="lbDataFim" Text="Data Fim" runat="server" />
    </div>
    <div>
        <asp:TextBox ID="txtDataFim" IDValidationData="txtDataFim" runat="server" TextMode="Date" Width="250px" CssClass="form-control" />
        <asp:RequiredFieldValidator ErrorMessage="O campo data fim é necessário" ControlToValidate="txtDataFim" runat="server" Display="None" ValidationGroup="Principal" />
    </div>
    <br />
    <div>
        <asp:Button ID="btnRelatorio" Text="Gerar" runat="server" OnClick="btnRelatorio_Click" class="btn btn-info" ValidationGroup="Principal" />
    </div>
    <br />
</asp:Content>
